package aiku.numericalcontroloa.common.base;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class BaseTree<T> extends BaseModel {
    /**
     * 父节点id
     */
    private Integer parentId;
    /**
     * 子节点数据
     */
    private List<T> children = new ArrayList<>();
}
